import Vue from 'vue'
import App from './App.vue'
import ViewUI from 'view-design'
import router from './router'
import config from '@/config'
import './resource/css/index.less'
import store from './store'
// 实际打包时应该不引入mock
/* eslint-disable */

console.log(process.env.NODE_ENV)
if (process.env.NODE_ENV !== 'production') require('@/mock')

Vue.use(ViewUI)

Vue.config.productionTip = false


Vue.prototype.$config = config

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
